

//index.js
//获取应用实例
const app = getApp()
//requestpost1: requestpost1,表单
//requestpost2: requestpost2,json
//requestget: requestget

Page({
  
  data: {
    active:0,
    num:''
  },
  //事件处理函数

  onLoad: function () {
    
    



  },
  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    if (typeof this.getTabBar === 'function' &&this.getTabBar()) {
      this.getTabBar().setData({
        selected: 0
      })
    }
  },

})
